/**
 * @file	
 * @author	chipsea
 * @brief	
 * @version	0.1
 * @date	2020-11-30
 * @copyright Copyright (c) 2020, CHIPSEA Co., Ltd.
 * @note
 */


#ifndef __BT_LIB_H
#define __BT_LIB_H
#include "hci.h"
#include "hci_tl.h"
#include "ll.h"
#include "ll_def.h"

void init_config(void);
void hal_rom_boot_init(void);
void HalEnterProgrammingMode(void);
int8  LL_GetCurrentRSSI(void);
void LL_GetCurrentPduDle(uint8_t connId, ll_pdu_length_ctrl_t* ppdu);
void LOG_BTLIB_DATA_TIME(void);
void BtlibGetVersion(uint8_t* version_major, uint8_t* version_minor);
void LoadEncryptCode(unsigned char* pflash, int size, unsigned char* run_addr);

#endif

